//成绩对象，包含科目名字，学生姓名学号，老师姓名编号
public class Grade {
    private String courseName;
    private String gID;

    private String teacherID;
    private String teacherName;
    private String studentID;
    private String studentName;
    private String score;


    public Grade() {
    }

    public Grade(String name, String cID, String teacherID, String teacherName, String studentID, String studentName, String score) {
        this.courseName = name;
        this.gID = cID;
        this.teacherID = teacherID;
        this.teacherName = teacherName;
        this.studentID = studentID;
        this.studentName = studentName;
        this.score = score;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return courseName;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.courseName = name;
    }

    /**
     * 获取
     * @return cID
     */
    public String getgID() {
        return gID;
    }

    /**
     * 设置
     * @param gID
     */
    public void setgID(String gID) {
        this.gID = gID;
    }

    /**
     * 获取
     * @return teacherID
     */
    public String getTeacherID() {
        return teacherID;
    }

    /**
     * 设置
     * @param teacherID
     */
    public void setTeacherID(String teacherID) {
        this.teacherID = teacherID;
    }

    /**
     * 获取
     * @return teacherName
     */
    public String getTeacherName() {
        return teacherName;
    }

    /**
     * 设置
     * @param teacherName
     */
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    /**
     * 获取
     * @return studentID
     */
    public String getStudentID() {
        return studentID;
    }

    /**
     * 设置
     * @param studentID
     */
    public void setStudentID(String studentID) {
        this.studentID = studentID;
    }

    /**
     * 获取
     * @return studentName
     */
    public String getStudentName() {
        return studentName;
    }

    /**
     * 设置
     * @param studentName
     */
    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    /**
     * 获取
     * @return score
     */
    public String getScore() {
        return score;
    }

    /**
     * 设置
     * @param score
     */
    public void setScore(String score) {
        this.score = score;
    }

    public String toString() {
        return "Course{name = " + courseName + ", gID = " + gID + ", teacherID = " + teacherID + ", teacherName = " + teacherName + ", studentID = " + studentID + ", studentName = " + studentName + ", score = " + score + "}";
    }


}
